package cn.jc.infra.basic.basic.service;

import cn.jc.infra.basic.basic.entity.SubjectCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 题目分类 服务类
 * </p>
 *
 * @author testjava
 * @since 2024-02-19
 */
public interface  SubjectCategoryService extends IService<SubjectCategory> {

    int insert(SubjectCategory subjectCategory);

    Integer querySubjectCount(Long id);

    List<SubjectCategory> queryCategory(SubjectCategory subjectCategory);

    List<SubjectCategory> queryCategoryByPrimary(SubjectCategory subjectCategory);

    int updateSubjectCategory(SubjectCategory subjectCategory);

    int updateCategoryService(SubjectCategory subjectCategory);
}
